package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 attend
 * 
 * @author ruoyi
 * @date 2025-04-19
 */
public class Attend extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键编号 */
    private Long attendid;

    /** 部门 */
    @Excel(name = "部门")
    private Long deptid;

    /** 员工 */
    @Excel(name = "员工")
    private Long usersid;

    /** 考勤类型 */
    @Excel(name = "考勤类型")
    private Long cateid;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    private String deptName;

    private String  userName;

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /** 备注 */
    @Excel(name = "备注")
    private String memo;

    public void setAttendid(Long attendid) 
    {
        this.attendid = attendid;
    }

    public Long getAttendid() 
    {
        return attendid;
    }

    public void setDeptid(Long deptid) 
    {
        this.deptid = deptid;
    }

    public Long getDeptid() 
    {
        return deptid;
    }

    public void setUsersid(Long usersid) 
    {
        this.usersid = usersid;
    }

    public Long getUsersid() 
    {
        return usersid;
    }

    public void setCateid(Long cateid) 
    {
        this.cateid = cateid;
    }

    public Long getCateid() 
    {
        return cateid;
    }

    public void setAddtime(Date addtime) 
    {
        this.addtime = addtime;
    }

    public Date getAddtime() 
    {
        return addtime;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setMemo(String memo) 
    {
        this.memo = memo;
    }

    public String getMemo() 
    {
        return memo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("attendid", getAttendid())
            .append("deptid", getDeptid())
            .append("usersid", getUsersid())
            .append("cateid", getCateid())
            .append("addtime", getAddtime())
            .append("status", getStatus())
            .append("memo", getMemo())
            .toString();
    }
}
